package com.market.web.model;

import org.springframework.context.annotation.Scope;
import org.springframework.stereotype.Component;

import com.market.domain.Supplier;
@Component("supplierModel")
@Scope("session")
public class SupplierModel extends GenericModel<Supplier> {
	@Override
	public Supplier getNewObject() {
		Supplier supplier = new Supplier();
		supplier.setIsNew(true);
		return supplier;
	}
}
